<form name="form_admin" method="post" action="<?php echo formAction('updatestatus')?>">
    <table width="100%"  cellpadding="4" cellspacing="1" id="tblsort">
    	<tr class="headtb" nodrop="true" nodrag="true">
            <td width="5%"><?php echo inputCheckAll()?></td>
    		<td width="20%" >Category Name</td>
    		<td width="10%" ><?php echo _STATUS?></td>
    		<td width="20%" ><?php echo _ACTIONS?></td>
    		<td>&nbsp;</td>
    	</tr>
        <?php
        $linknewsletter = getUrlCatByType('newsletter');
    	foreach($categories as $i => $category)
    	{
    	?>
    		<tr>
                <td align="center"><?php echo inputCheck($category['iId'])?></td>
    			<td nowrap="nowrap" style="padding-left:10px" valign="middle">
                    <?php echo linkAction('edit',$category['cName'],'id='.$category["iId"])?>
    				<input type="hidden" name="listid[]" value="<?php echo $category['iId']?>" />
    			</td>
    			<td align="center">
    				<select id="liststatus_<?php echo $i?>" name="liststatus[]">
    					<?php echo liststatus($category["iStatus"]) ?>
    				</select>
    			</td>

    			<td align="center">
                    <a href="..<?php echo $linknewsletter?>/<?php echo $category['cUrlString']?>"><?php echo View?></a> - 
                    <?php echo linkAction('content',Content,'id='.$category["iId"])?> -
    				<?php echo linkAction('edit',_EDIT,'id='.$category["iId"])?> -
                    <?php echo linkAction('delete',_DELETE,'id='.$category["iId"])?>
    			</td>
    			<td></td>
    		</tr>
    	<?php
    	}
        ?>
     </table>
     <?php echo $show_page?>
</form>